package model;

public class Result {
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScoreStr() {
        return scoreStr;
    }

    public void setScoreStr(String scoreStr) {
        this.scoreStr = scoreStr;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Result() {
        this.setName("");
        this.setScoreStr("");
    }

    private int id;
    private String name;
    //拼接字符串，每道题目之间用"#"隔开
    // 如对zhang的投票结果：001#100#201
    //则第一题0、1、2各一票，第二题0三票，第三题0一票、1两票
    private String scoreStr;
}
